package com.foreverwin.mes.integration.soap.materialissue.dto;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
 * @author Ervin Chen
 * @date 2020/1/13 17:40
 */
@XmlAccessorType( XmlAccessType.FIELD )
@XmlType(name = "DocumentItem", propOrder = {
        "itemNo",
        "moveType",
        "site",
        "erpStorageLocation",
        "storageLocation",
        "item",
        "quantity",
        "unitOfMeasure",
        "expireDate",
        "batchNumber",
        "vendorId",
        "vendor",
        "vendorLot",
        "minPackQty"
})
public class DocumentItem {

    @XmlElement(name = "itemNo", required = true)
    private String itemNo;

    @XmlElement(name = "moveType", required = true)
    private String moveType;

    @XmlElement(name = "site", required = true)
    private String site;

    @XmlElement(name = "erpStorageLocation", required = true)
    private String erpStorageLocation;

    @XmlElement(name = "storageLocation", required = true)
    private String storageLocation;

    @XmlElement(name = "item", required = true)
    private String item;

    @XmlElement(name = "quantity", required = true)
    private String quantity;

    @XmlElement(name = "unitOfMeasure", required = true)
    private String unitOfMeasure;

    @XmlElement(name = "expireDate", defaultValue = "9999-12-31", required = true)
    private String expireDate;

    @XmlElement(name = "batchNumber", required = true)
    private String batchNumber;

    @XmlElement(name = "vendorId", required = true)
    private String vendorId;

    @XmlElement(name = "vendor", required = true)
    private String vendor;

    @XmlElement(name = "vendorLot", required = true)
    private String vendorLot;

    @XmlElement(name = "minPackQty", required = true)
    private String minPackQty;

    public String getItemNo() {
        return itemNo;
    }

    public void setItemNo(String itemNo) {
        this.itemNo = itemNo;
    }

    public String getMoveType() {
        return moveType;
    }

    public void setMoveType(String moveType) {
        this.moveType = moveType;
    }

    public String getSite() {
        return site;
    }

    public void setSite(String site) {
        this.site = site;
    }

    public String getErpStorageLocation() {
        return erpStorageLocation;
    }

    public void setErpStorageLocation(String erpStorageLocation) {
        this.erpStorageLocation = erpStorageLocation;
    }

    public String getStorageLocation() {
        return storageLocation;
    }

    public void setStorageLocation(String storageLocation) {
        this.storageLocation = storageLocation;
    }

    public String getItem() {
        return item;
    }

    public void setItem(String item) {
        this.item = item;
    }

    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    public String getUnitOfMeasure() {
        return unitOfMeasure;
    }

    public void setUnitOfMeasure(String unitOfMeasure) {
        this.unitOfMeasure = unitOfMeasure;
    }

    public String getExpireDate() {
        return expireDate;
    }

    public void setExpireDate(String expireDate) {
        this.expireDate = expireDate;
    }

    public String getBatchNumber() {
        return batchNumber;
    }

    public void setBatchNumber(String batchNumber) {
        this.batchNumber = batchNumber;
    }

    public String getVendorId() {
        return vendorId;
    }

    public void setVendorId(String vendorId) {
        this.vendorId = vendorId;
    }

    public String getVendor() {
        return vendor;
    }

    public void setVendor(String vendor) {
        this.vendor = vendor;
    }

    public String getVendorLot() {
        return vendorLot;
    }

    public void setVendorLot(String vendorLot) {
        this.vendorLot = vendorLot;
    }

    public String getMinPackQty() {
        return minPackQty;
    }

    public void setMinPackQty(String minPackQty) {
        this.minPackQty = minPackQty;
    }
}
